/* NOTE: This file was generated as an optimized version of "library.source.less" for the Theme Designer. */

/*!
 * OpenUI5
 * (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
 * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
 */
@import "../base/library.less";
@import "../../../../../sap/ui/core/themes/sap_hcb/global.less";

/* START "Toolbar.base.less" */
.sapUiRtaToolbarContainer .sapUiRtaToolbar {
	box-shadow: 0 0 2.5rem 0.125rem rgba(255, 255, 255, 0.8);
	}

/* END "Toolbar.base.less" */

/* START "Toolbar.standalone.less" */
/* type: standalone */
.sapUiRtaToolbar.type_standalone.color_default .sapMBtn .sapMBtnContent,
.sapUiRtaToolbar.type_standalone.color_default .sapMBtn .sapMBtnTransparent .sapMBtnIcon {
	color: inherit;
	}
	.sapUiRtaToolbar.type_standalone.color_default .sapMBtn.sapMBtnDisabled .sapMBtnContent,
	.sapUiRtaToolbar.type_standalone.color_default .sapMBtn.sapMBtnDisabled .sapMBtnIcon {
		color: inherit;
		}

/* END "Toolbar.standalone.less" */

/* START "Toolbar.personalization.less" */
.sapUiRtaToolbar.type_personalization {
	background-color: @sapHCStandardBG;
	border-top: @sapHCStandardFG 1px solid;
}
/* END "Toolbar.personalization.less" */


/* START "Overlay.less" */
/******************************************************************
	Style of the RTA Overlays - HCB Theme
*******************************************************************/
@_sap_ui_rta_Overlay_BaseBG : @sapHCStandardBG;
@_sap_ui_rta_Overlay_HoverBG : fade(lighten(@sapHCHighlightBG, 15%), 30%);
@_sap_ui_rta_Overlay_ActiveBG : fade(lighten(@sapHCHighlightAltBG, 15%), 30%);
@_sap_ui_rta_Overlay_Border : @sapUiDragAndDropActiveBorderColor;


.sapUiRta {
	.sapUiDtOverlay {
		&:focus {
			outline: none;
			/* We create inner black shadow to make sure white border is in contrast with element */
			box-shadow: 0 0 0 2px #000 inset;
			&:before {
				border-width: 2px;
			}
		}
	}
	.sapUiDtOverlaySelected {
		&.sapUiDtOverlayFocusable {
			&:focus {
				/* Same trick as described above but doubled thickness */
				box-shadow: 0 0 0 4px #000 inset;
			}
		}
	}
	.sapUiRtaOverlayHover {
		&:after {
			border-width: 2px;
		}
	}

}

/* END "Overlay.less" */

